from django.db import models

class Department(models.Model):
    title = models.CharField(max_length=255)

class Department_Employees(models.Model):
    names = models.CharField(max_length=255)
    number = models.CharField(max_length=255)
    department = models.ForeignKey(Department, on_delete= models.CASCADE)

class ButtonClick(models.Model):
    button_name = models.CharField(max_length=255)
    clicked_at = models.DateTimeField(auto_now_add=True)

